From: Georges Basile Stavracas Neto Date: Thu, 5 Dec 2019 14:00:21 +0000 (-0300) Subject: gschema: Introduce the 'app-picker-layout' key X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~684^2^2~118 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=8e23ff81111ca8856b325c690abb0b6f3fba9fc2;p=gnome-shell.git gschema: Introduce the 'app-picker-layout' key This is the key that will be used to store the pages and the icons in each page. The idea is that we we store an a{sv} variant for each page. This variant will contain → array of properties, where we can store arbitrary data for each icon. The expected output of this key is: [ { 'polari.desktop': <{ 'position': 0 }>, 'epiphany.deskop': <{ 'position': 1 }>, }, { 'telegram.desktop': <{ 'position': 2 }>, 'builder.desktop': <{ 'position': 0 }>, 'gitg.desktop': <{ 'position': 1 }>, } ] The toplevel array is sorted, and pages of the grid always show in the order they are stored. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1284 --- diff --git a/data/org.gnome.shell.gschema.xml.in b/data/org.gnome.shell.gschema.xml.in index 49d38d766..6eacfa568 100644 --- a/data/org.gnome.shell.gschema.xml.in +++ b/data/org.gnome.shell.gschema.xml.in @@ -109,6 +109,17 @@ the shell. + + [] + Layout of the app picker + + Layout of the app picker. Each entry in the array is a page. Pages are + stored in the order they appear in GNOME Shell. Each page contains an + “application id” → 'data' pair. Currently, the following values are + stored as 'data': + • “position”: the position of the application icon in the page + +